<?php
/**
 * Created by PhpStorm.
 * User: sunshubo
 * Date: 2017/9/15
 * Time: 16:21
 */

class Adduser extends MY_Controller
{
    function index()
    {
//        echo json_encode(array('result' => 0, 'msg' => ''));
//        return;
        $data = ($this->input->post());
        $this->load->model('user/useradd', 'add');
        echo $this->add->add_user($data);
        return;
    }
}